package com.spzx.product.domain.vo;

import com.spzx.product.domain.Product;
import com.spzx.product.domain.ProductSku;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "商品详情数据模型")
public class ProductDetailVO extends Product {

    //扩展的数据来自其他表 一般加上表名作为前缀
    private String brandName;
    private String category1Name;
    private String category2Name;
    private String category3Name;
    @Schema(description = "详情图地址列表")
    private List<String> detailsImageUrlList;
    private List<ProductSku> productSkuList;

}